FROM openjdk:8-jdk-alpine
# author
MAINTAINER sgcc
# 挂载目录
VOLUME /tmp
# 复制jar文件到路径
COPY sgcc-datasource-server/target/sgcc-datasource-server.jar sgcc-datasource-server.jar
# 启动定时任务服务
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","sgcc-datasource-server.jar"]
